﻿@model CarSales.Models.Car

<fieldset>
    <legend>Car</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarTitle)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarTitle)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarMake)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarMake)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarModel)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarModel)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarColor)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarColor)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarShortDescription)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarShortDescription)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarLongDescription)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarLongDescription)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarDateEntered)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarDateEntered)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarDateUpdated)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarDateUpdated)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CarOwnerId)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CarOwnerId)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.CarId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
